package cn.star.jots.previewSort.mapper;

import cn.star.jots.previewSort.pojo.dto.PreviewSortQuery;
import cn.star.jots.previewSort.pojo.entity.PreviewSort;
import cn.star.jots.previewSort.pojo.vo.PreviewSortVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PreviewSortMapper {

    List<PreviewSortVO> selectAll(PreviewSortQuery previewSortQuery);

    void insert(PreviewSort previewSort);

    void update(PreviewSort previewSort);

    void delete(Long id);
}
